export function lazyRoute(importFn: () => Promise<any>) {
    return () => importFn().then(module => ({
      Component: module.default
    }));
  }